package com.haierCamera.customapplication.ui.main;

import android.content.Intent;
import android.os.Bundle;

import com.haierCamera.customapplication.BaseActivity;
import com.haierCamera.customapplication.R;
import com.haierCamera.customapplication.databinding.HzklActivityAddStep1Binding;

import androidx.databinding.DataBindingUtil;

public class HZKLCameraDeviceAddStepOneActivity extends BaseActivity  {

    HzklActivityAddStep1Binding binding;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        binding = DataBindingUtil.setContentView(this, R.layout.hzkl_activity_add_step_1);

        binding.setLifecycleOwner(this);
        binding.imgReturn.setOnClickListener((v)->{
            finish();
        });

        binding.btnNext.setOnClickListener((v)->{
            startActivity(new Intent(HZKLCameraDeviceAddStepOneActivity.this,HZKLCameraDeviceAddStepTwoActivity.class)
                    .putExtra("sn",getIntent().getStringExtra("sn"))
                    .putExtra("sc",getIntent().getStringExtra("sc"))
                    .putExtra("dt",getIntent().getStringExtra("dt")));
        });
    }
}
